﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Security;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using Steve.UI.Resources;

namespace Steve.UI.Models
{
    public class LogOnModel
    {
        [Required]
		[DisplayName("User")]
        [Display(ResourceType = typeof(CommonResources), Name = "LogOn_UserName_Name", Description = "LogOn_UserName_Description")]
        public string UserName { get; set; }
        
        [Required]
        [DataType(DataType.Password)]
        [Display(ResourceType = typeof(CommonResources), Name = "LogOn_Password_Name", Description = "LogOn_Password_Description")]
        public string Password { get; set; }

        public bool IsUnauthenticatedUserName { get; set; }

        [SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings")]
        public string ReturnUrl { get; set; }
    }
}
